Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(loader): improve assembly loading #250

Merged
merged 2 commits into from
Apr 12, 2024
Merged

perf(loader): improve assembly loading #250

merged 2 commits into from
Apr 12, 2024

Conversation

alexanderlinne
Copy link
Collaborator

  • In ArchUnitNET/Loader/ArchBuilder.cs we use a Dictionary instead of a List for a more efficient lookup. In my tests this improves loding times for lange numbers of assembiles and halfes the execution time for the LoadAssembliesIncludingRecursiveDependencies test.
  • Small performance improvement in ArchUnitNET/Loader/MonoCecilMemberExtensions.cs by performing checks more efficiently.

Co-authored-by: mak638 <[email protected]>
Signed-off-by: Alexander Linne <[email protected]>
@mak638 mak638 merged commit 98f7f0e into main Apr 12, 2024
6 checks passed
@alexanderlinne alexanderlinne deleted the perf/assembly-loading branch April 17, 2024 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants